r"""
东方财富网：https://quote.eastmoney.com/center/gridlist.html#hsaboard
"""
import requests
params = {
    "np": 1,
    "pz": 20,
    "fltt": "1",
    "cb": "jQuery37101041846107598361_1762581806835",
    "po": "1",
    "pn": '1',
    "pz": '20',
    "ut": "fa5fd1943c7b386f172d6893dbfba10b",
    "invt": "2",
    "wbp2u": "|0|0|0|web",
    "fid": "f3",
    "fs": 'm:1+t:2+f:!2,m:1+t:23+f:!2',
    "fields": "f12,f13,f14,f1,f2,f4,f3,f152,f5,f6,f7,f15,f18,f16,f17,f10,f8,f9,f23",
}
url = 'https://push2.eastmoney.com/api/qt/clist/get'
response = requests.get(url, params=params)
# 获取返回的数据
print(response.text)